home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / 360catcher.swf / scripts / frame_4 / PlaceObject2_377_177 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-07-21  |  1.3 KB  |  56 lines

  1. onClipEvent(enterFrame){
  2.    if(Key.isDown(40) && _currentframe < 29 && movedown == false)
  3.    {
  4.       play();
  5.       movedown = true;
  6.    }
  7.    if(Key.isDown(38) && moveup == false && _currentframe > 1 && movedown == false)
  8.    {
  9.       mvp = _currentframe - 4;
  10.       moveup = true;
  11.    }
  12.    if(moveup == true)
  13.    {
  14.       this.gotoAndStop(_currentframe - 1);
  15.       if(this._currentframe <= mvp)
  16.       {
  17.          moveup = false;
  18.       }
  19.    }
  20.    if(Key.isDown(13))
  21.    {
  22.       if(this._currentframe == 1)
  23.       {
  24.          _root.gotoAndStop("challangemode");
  25.       }
  26.       if(this._currentframe == 5)
  27.       {
  28.          _root.gotoAndStop("1playertype1");
  29.       }
  30.       if(this._currentframe == 9)
  31.       {
  32.          _root.gotoAndStop("2playertype1");
  33.       }
  34.       if(this._currentframe == 13)
  35.       {
  36.          _root.gotoAndStop("avoid");
  37.       }
  38.       if(this._currentframe == 17)
  39.       {
  40.          _root.gotoAndStop("instructions");
  41.       }
  42.       if(this._currentframe == 21)
  43.       {
  44.          _root.gotoAndStop("credits");
  45.       }
  46.       if(this._currentframe == 25)
  47.       {
  48.          getURL("http://www.crazymonkeygames.com",_blank);
  49.       }
  50.       if(this._currentframe == 29)
  51.       {
  52.          getUrl("http://scores.crazymonkeygames.com/hs/listscores.php?id=29", "_blank");
  53.       }
  54.    }
  55. }
  56.